import { http } from '@/utils/http'
import type { newsDetail } from '@/types/editor'
export const login = (loginform: any) => {

  return http<any>({
    method: 'GET',
    url: `/doctor/selectDoctor?account=${loginform.account}&password=${loginform.password}`
  })
}
export const loginout = () => {
  return http<any>({
    method: 'POST',
    url: '/doctor/logOut'
  })
}
export const modifyAPI = (data: any) => {
  return http<any>({
    url: `/doctor/updateDoctorInfo`,
    method: 'PUT',
    data
  })
}
